Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ANN bench: use different offset for each thread #1981

Merged

Conversation

tfeher
Copy link
Contributor

@tfeher tfeher commented Nov 9, 2023

In ANN benchmark, when throughput mode is enabled, it is important that each thread works with a separate set of queries, otherwise cache effects can distort the results. This PR sets a different starting offset for each thread.

@tfeher tfeher requested a review from a team as a code owner November 9, 2023 09:02
@tfeher tfeher self-assigned this Nov 9, 2023
@github-actions github-actions bot added the cpp label Nov 9, 2023
@tfeher tfeher added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change Vector Search and removed cpp labels Nov 9, 2023
@github-actions github-actions bot added the cpp label Nov 9, 2023
Copy link
Member

@cjnolet cjnolet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@cjnolet
Copy link
Member

cjnolet commented Nov 9, 2023

/merge

@rapids-bot rapids-bot bot merged commit d3a5314 into rapidsai:branch-23.12 Nov 9, 2023
57 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cpp improvement Improvement / enhancement to an existing function non-breaking Non-breaking change Vector Search
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants